package cn.zxp.web.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zxp.common.mapper.source.UserInfoMapper;
import com.zxp.common.po.UserInfo;

@Service
@Transactional(readOnly = true)
public class UserService extends ServiceImpl<UserInfoMapper, UserInfo> {

	@Resource
	private UserInfoMapper	userInfoMapper;

	public UserInfo getUser(Integer id) {

		return userInfoMapper.selectById(id);
	}

}
